<?php

/**
 * 命令行请求入口
 * @author ls
 * @email lmt@lostphp.com
 * @date 2017-03-28 09:47:37
 * @desc 命令行请求入口
 */
define('APPLICATION_PATH', dirname(__FILE__));

if (!extension_loaded("yaf"))
{
	die('yaf error');
}
$application = new Yaf_Application(APPLICATION_PATH . "/conf/application.ini");
$application->bootstrap()->getDispatcher()->dispatch(new Yaf_Request_Simple());
?>
